import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import java.util.Scanner;

public class ZuoYeLiu {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("语文");
        double a=input.nextDouble();
        System.out.println("数学");
        double b=input.nextDouble();
        System.out.println("英语");
        double c=input.nextDouble();
        double d=a+b+c,e=d/3;
        System.out.println("总分="+d);
        System.out.println("平均分="+e);
    }
}
